package model;

public class DAOFactory {
    private static DAOFactory daoFactory;
    
    static{
        daoFactory = new DAOFactory();
    }
   
    /**
     * get the instance of DAOFactory
     * @return
     */
    public static DAOFactory getInstance(){
        return daoFactory;
    }
    
    /**
     * 
     * @return
     */
    public AccountHome getAccountDAO(){
        AccountHome accDAO = new AccountHome();
        
        return accDAO;
    }

}
